package com.topnav.mc.admin.bean.cachebean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 设备GPS和围栏对比
 * @Author: kenny
 * @Date: 2023/11/22 15:18
 */
@Data
@Accessors(chain = true)
public class CacheDeviceFenceBean {
    private Long deviceId;
    private Long fenceId;
    private Date time;
    private Integer status; //1 在围栏内 2在围栏外  对应EnumDeviceFenceStatus
    private int count=1; //累计次数 多个同样位置后再报警，不然太灵敏
}
